// 2013-7-29下午06:16:44  net.betou.trade.main.manager.NewsMng.java

package net.betou.trade.main.manager;

import net.betou.common.page.Pagination;
import net.betou.trade.entity.main.AgentAndAdmins;
import net.betou.trade.entity.main.News;

/**
 * 
 * @author 叶装装
 */
public interface NewsMng{

	public News save( News bean, AgentAndAdmins admin );
	
	public News update( News bean );
	
	public News deleteById( Integer id );
	
	public News [ ] deleteByIds( Integer [ ] ids );
	
	public News findById( Integer id );
	
	public News findMyNews( Integer id, Integer selfId, Boolean system );
	
	public Pagination getPage( AgentAndAdmins admin, String searchProperty, String searchValue, String orderProperty, String orderDirection,  int pageNo, int pageSize );
}
